class Base{
    /*public int a = 10;
    public int b = 20;*/
    public void methodA(){
        System.out.println("Base中的methodA()");
    }

}
public class Derived extends Base {
   /* public int a = 100;
    public int c = 30;
    public void methods(){
        System.out.println(a);
        System.out.println(super.a);
        System.out.println(b);
        System.out.println(c);
    }*/
   public void methodA(){
       System.out.println("Derived中的methodA()");
   }
   public void methodA(String s){
        System.out.println("Derived中的methodA()2");
    }
    public void methodB(){
        System.out.println("Derived中的methodB()");
    }
    public void methodC(){
        methodA();
        super.methodA();
        methodA("hello");
        methodB();
    }
    public static void main(String[] args) {
        Derived derived = new Derived();
        /*derived.methods();*/
        derived.methodC();
    }
}
